Skip to content

Optimize getBundlePEM#1490

Merged
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
dprince:optimize_bundle_pem
Jun 23, 2025
Merged

Optimize getBundlePEM#1490
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
dprince:optimize_bundle_pem

Conversation

@dprince

@dprince dprince commented Jun 17, 2025

Copy link
Copy Markdown
Contributor

This was the top allocation on the heap. See if we can optimize it a bit

Jira: OSPRH-17235

This was the top allocation on the heap. See if we can optimize it a bit

Jira: OSPRH-17235
@openshift-ci openshift-ci Bot requested review from olliewalsh and stuggi June 17, 2025 01:45
Comment thread pkg/openstack/ca.go

for _, cert := range cab.certs {
bundleData += "# " + cert.cert.Issuer.CommonName + "\n" +
string(pem.EncodeToMemory(&pem.Block{Type: "CERTIFICATE", Bytes: cert.cert.Raw}))

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

avoiding the use of EncodeToMemory was the goal here

@softwarefactory-project-zuul

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/63393a442d1941fd8732e3b28fe4b31c

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 32m 57s
podified-multinode-edpm-deployment-crc POST_FAILURE in 1h 10m 30s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 32m 12s
adoption-standalone-to-crc-ceph-provider POST_FAILURE in 3h 11m 26s
openstack-operator-tempest-multinode POST_FAILURE in 1h 28m 52s

@dprince

dprince commented Jun 17, 2025

Copy link
Copy Markdown
Contributor Author

recheck

@stuggi stuggi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci

openshift-ci Bot commented Jun 23, 2025

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dprince, stuggi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@stuggi

stuggi commented Jun 23, 2025

Copy link
Copy Markdown
Contributor

/retest

1 similar comment
@stuggi

stuggi commented Jun 23, 2025

Copy link
Copy Markdown
Contributor

/retest

@openshift-merge-bot openshift-merge-bot Bot merged commit 32d7fd2 into openstack-k8s-operators:main Jun 23, 2025
8 checks passed
@stuggi

stuggi commented Jun 24, 2025

Copy link
Copy Markdown
Contributor

/cherry-pick 18.0-fr3

@openshift-cherrypick-robot

Copy link
Copy Markdown

@stuggi: new pull request created: #1502

Details

In response to this:

/cherry-pick 18.0-fr3

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants